from fastapi import FastAPI

from routers.dataRouter.alarmSet import data_alarm_set
from routers.dataRouter.area import data_area_router
from routers.dataRouter.dist import data_dist_router
from routers.dataRouter.holiday import data_holiday_router
from routers.dataRouter.layer import data_layer_router
from routers.dataRouter.point import data_point_router
from routers.dataRouter.sqlapi import data_sql_api
from routers.dataRouter.tcOvertime import tc_overtime_router


def register_data_router(app: FastAPI):
    app.include_router(data_alarm_set)
    app.include_router(data_area_router)
    app.include_router(data_dist_router)
    app.include_router(data_holiday_router)
    app.include_router(data_layer_router)
    app.include_router(data_point_router)
    app.include_router(data_sql_api)
    app.include_router(tc_overtime_router)
